package homework.score.system;

public class ExitCommandNode extends CommandNode {

    public ExitCommandNode(String name, String description) {
        super("退出", "结束运行");
    }

    @Override
    public void execute() {
        System.out.println("Bye");
        System.exit(0);
    }
}
